﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AppToolKit.Core.Context.Spring.AutoConstruction;
using AppToolKit.Core.Context;
using App.Contract;
using AppToolKit.Business;

namespace App.Service
{
    //[BusinessImpl(typeof(IBlockBusiness))]
    //[AutoWiring]
    public class BlockBusiness : BusinessBase<BlockHeaderVO>, IBlockBusiness
    {
        #region IBlockBusiness Members

        public int Add(int x, int y)
        {
            return x + y;
        }

       

        public BlockHeaderVO GetID(string id)
        {
            return Load(id);
        }

        #endregion
    }
}
